7.1.3 fails to configure on Solaris 2.7 - Mailing list pgsql-ports

From Henry B. Hotz
Subject 7.1.3 fails to configure on Solaris 2.7
Date
Msg-id p05100306b831bfdfc4e0@[137.78.212.225]
Whole thread Raw
In response to Re: Re: patch for minor Win32 makefile bug  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: 7.1.3 fails to configure on Solaris 2.7  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-ports
postgres 7.1.3
Solaris 2.7, 64-bit
gcc 2.95.3 from sunfreeware.com
gmake 3.79.1 (named gmake so it doesn't conflict with /usr/ccs/bin/make)
tcl&tk 8.3.4
readline 4.2a
openssl 0.9.6b
perl 5.6.1 available in AFS space
openafs, gzip, zlib, rsync, and rdist also installed but shouldn't matter
PATH is:
/usr/ccs/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/afsws/bin:/usr/ets/bin
(last two are via AFS)
ln -s /usr/local/bin/gcc /usr/ucb/cc

./configure [no options whatever]
...
checking for optreset... no
checking test program... failed

tail config.log
...
configure:6806: gcc -o conftest conftest.c -lz -lresolv -lgen -lnsl
-lsocket -ldl -lm -lreadline -ltermcap 1>&5
configure: failed program was:
#line 6802 "configure"
#include "confdefs.h"
int main() { return 0; }

I can put those 3 lines in a file and use those gcc options and it
compiles just fine thank you.  All of the above typed by hand.
Caveats.
--
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu

pgsql-ports by date:

Previous
From: "Henry B. Hotz"
Date:
Subject: Re: Darwin/MacOSX 10.1.1 configure issues with 7.2b3
Next
From: "Henry B. Hotz"
Date:
Subject: Darwin/MacOSX 10.1.1 configure issues with b3